package com.levi.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author shentong
 * @since 2022/3/29 9:35 PM
 */
@Data
public class ProductVo {

    private Integer id;

    @ApiModelProperty("商品分类id")
    private Integer categoryId;

    @ApiModelProperty("商品标题")
    private String name;

    @ApiModelProperty("商品副标题")
    private String subTitle;

    @ApiModelProperty("产品主图,url相对地址")
    private String mainImage;

    @ApiModelProperty("价格，单位元，保留两位小数")
    private BigDecimal price;

    @ApiModelProperty("状态1-在售，2-下架，3-删除")
    private Integer status;
}
